package com.assignwork.dto;

import com.assignwork.entity.DailyPlan;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.core.tool.utils.Func;

/**
 * DailyPlanDTO
 */
@Data
@ApiModel(value = "DailyPlanDTO对象", description = "日计划")
public class DailyPlanDTO extends DailyPlan {

    public static final String I_E_TYPE = "ie_type";
    public static final String BERTH = "berth";
    public static final String LOAD_TYPE = "load_type";
    public static final String HOLD = "hold";
    public static final String HOLD_POSITION = "hold_position";
    public static final String PACKAGE_BULK = "package_bulk";
    public static final String PACKAGE_BULK_BULK = "BULK"; // 散货
    public static final String PACKAGE_BULK_GROCERY = "GROCERY"; // 杂货
    public static final String TIME_SPACE_DAY = "DAY";
    public static final String TIME_SPACE_NIGHT = "NIGHT";

    private String timeSpace;
    private String workType;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long teamId;

}